home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 44 / PC Actual CD 44.iso / Linux / Cygwin / full.exe / Disk1 / data1.cab / Tools / H-i586-cygwin32 / i586-cygwin32 / include / shellapi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-04  |  3.8 KB  |  152 lines

  1. #ifndef _SHELLAPI_H
  2. #define _SHELLAPI_H
  3.  
  4. #ifdef __cplusplus
  5. extern "C"
  6. {
  7. #endif
  8. /* For shell32.def
  9.    EXPORTS
  10.    _CheckEscapesA@8
  11.    _CheckEscapesW@8
  12.    DONE _CommandLineToArgvW@8
  13.    _DoEnvironmentSubstA@8
  14.    _DoEnvironmentSubstW@8
  15.    DONE _DragAcceptFiles@8
  16.    DONE _DragFinish@4
  17.    DONE _DragQueryFileA@16
  18.    _DragQueryFileAorW@24
  19.    DONE _DragQueryFileW@16
  20.    DONE _DragQueryPoint@8
  21.    DONE _DuplicateIcon@8
  22.    DONE _ExtractAssociatedIconA@12
  23.    _ExtractAssociatedIconExA@16
  24.    _ExtractAssociatedIconExW@16
  25.    DONE _ExtractAssociatedIconW@12
  26.    DONE _ExtractIconA@12
  27.    _ExtractIconResInfoA@20
  28.    _ExtractIconResInfoW@20
  29.    DONE _ExtractIconW@12
  30.    _ExtractVersionResource16W@8
  31.    _FindExeDlgProc@16
  32.    DONE _FindExecutableA@12
  33.    DONE _FindExecutableW@12
  34.    _FreeIconList@8
  35.    _InternalExtractIconListA@12
  36.    _InternalExtractIconListW@12
  37.    _RealShellExecuteA@40
  38.    _RealShellExecuteExA@44
  39.    _RealShellExecuteExW@44
  40.    _RealShellExecuteW@40
  41.    _RegenerateUserEnvironment@8
  42.    _RegisterShellHook@8
  43.    _SheChangeDirA@4
  44.    _SheChangeDirExA@4
  45.    _SheChangeDirExW@4
  46.    _SheChangeDirW@4
  47.    _SheConvertPathW@12
  48.    _SheFullPathA@12
  49.    _SheFullPathW@12
  50.    _SheGetCurDrive@0
  51.    _SheGetDirA@8
  52.    _SheGetDirExW@12
  53.    _SheGetDirW@8
  54.    _SheGetPathOffsetW@4
  55.    _SheRemoveQuotesA@4
  56.    _SheRemoveQuotesW@4
  57.    _SheSetCurDrive@4
  58.    _SheShortenPathA@8
  59.    _SheShortenPathW@8
  60.    DONE _ShellAboutA@16
  61.    DONE _ShellAboutW@16
  62.    DONE _ShellExecuteA@24
  63.    DONE _ShellExecuteW@24
  64.    _ShellHookProc@12
  65.    _StrChrA@8
  66.    _StrChrIA@8
  67.    _StrChrIW@8
  68.    _StrChrW@8
  69.    _StrCmpNA@12
  70.    _StrCmpNIA@12
  71.    _StrCmpNIW@12
  72.    _StrCmpNW@12
  73.    _StrCpyNA@12
  74.    _StrCpyNW@12
  75.    _StrNCmpA@12
  76.    _StrNCmpIA@12
  77.    _StrNCmpIW@12
  78.    _StrNCmpW@12
  79.    _StrNCpyA@12
  80.    _StrNCpyW@12
  81.    _StrRChrA@12
  82.    _StrRChrIA@12
  83.    _StrRChrIW@12
  84.    _StrRChrW@12
  85.    _StrRStrA@12
  86.    _StrRStrIA@12
  87.    _StrRStrIW@12
  88.    _StrRStrW@12
  89.    _StrStrA@8
  90.    _StrStrIA@8
  91.    _StrStrIW@8
  92.    _StrStrW@8
  93.    _WOWShellExecute@28
  94.  
  95.  */
  96.  
  97.  
  98. #ifdef UNICODE
  99. #define DragQueryFile DragQueryFileW
  100. #define ExtractIcon ExtractIconW
  101. #define ShellExecute ShellExecuteA
  102. #define FindExecutable FindExecutableA
  103. #define ShellAbout ShellAboutA
  104. #define ExtractAssociatedIcon ExtractAssociatedIconA
  105. #else
  106. #define DragQueryFile DragQueryFileA
  107. #define ExtractIcon ExtractIconA
  108. #define ShellExecute ShellExecuteW
  109. #define FindExecutable FindExecutableW
  110. #define ShellAbout ShellAboutW
  111. #define ExtractAssociatedIcon ExtractAssociatedIconW
  112. #endif
  113.  
  114.  
  115. /*WINAPI TCHAR **  CommandLineToArgvW(TCHAR*, int); */
  116.  
  117. #define SE_ERR_SHARE                    26
  118. #define SE_ERR_ASSOCINCOMPLETE           27
  119. #define SE_ERR_DDETIMEOUT               28
  120. #define SE_ERR_DDEFAIL                  29
  121. #define SE_ERR_DDEBUSY                  30
  122. #define SE_ERR_NOASSOC                  31
  123.  
  124.  
  125. DECLARE_HANDLE (HDROP);
  126.  
  127.  
  128. unsigned int WINAPI DragQueryFileW (HDROP, unsigned int, wchar_t *, unsigned int);
  129. unsigned int WINAPI DragQueryFileA (HDROP, unsigned int, char *, unsigned int);
  130. BOOL WINAPI DragQueryPoint (HDROP, POint *);
  131. void WINAPI DragFinish (HDROP);
  132. void WINAPI DragAcceptFiles (HWND, BOOL);
  133. HICON WINAPI DuplicateIcon (HINSTANCE, HICON );
  134. HICON WINAPI ExtractAssociatedIconA (HINSTANCE, char *, WORD *);
  135. HICON WINAPI ExtractAssociatedIconW (HINSTANCE, wchar_t *, WORD *);
  136. HICON WINAPI ExtractIconW (HINSTANCE, const wchar_t *, unsigned int);
  137. HICON WINAPI ExtractIconA (HINSTANCE, const char *, unsigned int);
  138. HINSTANCE WINAPI FindExecutableA (const char *, const char *, char *);
  139. HINSTANCE WINAPI FindExecutableW (const wchar_t *, const wchar_t *, wchar_t *);
  140. int WINAPI ShellAboutA (HWND, const char *, const char *, HICON);
  141. int WINAPI ShellAboutW (HWND, const wchar_t *, const wchar_t *, HICON);
  142. HINSTANCE WINAPI ShellExecuteA (HWND, const char *, const char *, char *, const char *, int);
  143. HINSTANCE WINAPI ShellExecuteW (HWND, const wchar_t *, const wchar_t *, wchar_t *, const wchar_t *, int);
  144.  
  145. #ifdef __cplusplus
  146. }
  147. #endif
  148.  
  149. #endif
  150.  
  151.  
  152.